<?php             
/**
 *
 * @todo
 * @author Judas <judasnow@gmail.com>
 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
 */

class db_obj_user_judge_statistics extends db_obj{

        /**
        * 
        * @param MDB2 $db 数据库连接对象
        */
	public function __construct( $db ){ 

		parent::__construct( $db , 'user_judge_statistics' , 'username' ); 

		$this->add( 'username' , ''  ); 
		$this->add( 'submit_times' , '' );
		$this->add( 'accepted_times', '' );
		$this->add( 'wrong_answer_times', '' );
		$this->add( 'presentation_times', '' );
		$this->add( 'compilation_error_times', '' );
		$this->add( 'time_exceeded_times', '' );
		$this->add( 'memory_exceeded_times', '' );
		$this->add( 'output_exceeded_times', '' );
		$this->add( 'runtime_error_times', '' );
		$this->add( 'compile_time_over', '' );		
        }
}
?>

